// pages/onlyImage/onlyImage.js
Page({
  data: {
    pictureList:[],
    imgList:[]

  },
  onLoad(options) {
    let ids = options.id
    let id = ids*1-1
    console.log('第',id,'张')
    wx.request({
      url:'https://gitee.com/seec1-guoxuehai-organization/images/raw/master/image/gxh/list.json',
      success:res=>{
        console.log(res.data.pictureList[1][0].list2[id])
        this.setData({
          pictureList: res.data.pictureList[1][0].list2[1]
        })
      }

    })
  },

})